<template>
  <div>
    <div class="">
      <div class="common-box">
        <el-tabs v-model="activeTag" @tab-click="handleClick">
          <!--待退款 begin-->
          <el-tab-pane label="待退款" name="first">
            <refunds-data></refunds-data>
          </el-tab-pane>
          <!--待退款 end-->
          <!--处理中 begin-->
          <el-tab-pane label="处理中" name="second">
            <handle-data></handle-data>
          </el-tab-pane>
          <!--处理中 end-->
          <!--退款成功 begin-->
          <el-tab-pane label="退款成功" name="third">
            <refund-success></refund-success>
          </el-tab-pane>
          <!--退款成功 end-->
        </el-tabs>
      </div>
    </div>
  </div>
</template>
<script>
  import service from '@/service'
  import refundsData from './RefundsData/index.vue';
  import handleData from './HandleData/index.vue';
  import refundSuccess from './RefundSuccess/index.vue';
  export default {
    data(){
      return {
        activeTag:'first'
      }
    },
    mounted(){

    },
    methods:{
      handleClick(tab, event) { //标签页切换
        if(tab.index===0){

        }
      },
    },
    components:{
      refundsData,
      handleData,
      refundSuccess
    }

  }
</script>

